Vcenter NamespaceManagement VirtualMachineClasses Info

Vcenter NamespaceManagement VirtualMachineClasses Info
Vcenter NamespaceManagement VirtualMachineClasses Info

The Vcenter NamespaceManagement VirtualMachineClasses Info schema contains detailed information about the virtual machine class.

This schema was added in vSphere API 7.0.2.00100.

JSON Example
{
    "id": "string",
    "cpu_count": 0,
    "cpu_reservation": 0,
    "memory_mb": 0,
    "memory_reservation": 0,
    "description": "string",
    "namespaces": [
        "string"
    ],
    "vms": [
        "string"
    ],
    "config_status": "string",
    "messages": [
        {
            "severity": "string",
            "details": {
                "id": "string",
                "default_message": "string",
                "args": [
                    "string"
                ],
                "params": {
                    "params": {
                        "s": "string",
                        "dt": "string",
                        "i": 0,
                        "d": "number",
                        "l": "Vapi Std NestedLocalizableMessage Object",
                        "format": "string",
                        "precision": 0
                    }
                },
                "localized": "string"
            }
        }
    ],
    "devices": {
        "vgpu_devices": [
            {
                "profile_name": "string"
            }
        ],
        "dynamic_direct_path_io_devices": [
            {
                "vendor_id": 0,
                "device_id": 0,
                "custom_label": "string"
            }
        ]
    },
    "instance_storage": {
        "policy": "string",
        "volumes": [
            {
                "size": 0
            }
        ]
    },
    "config_spec": {}
}
string
id
Required

Identifier for the VM class.

This property was added in vSphere API 7.0.2.00100.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.vcenter.namespace_management.VirtualMachineClass. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.vcenter.namespace_management.VirtualMachineClass.

integer As int64 As int64
cpu_count
Required

The number of CPUs configured for virtual machine of this class.

This property was added in vSphere API 7.0.2.00100.

integer As int64 As int64
cpu_reservation
Optional

This property is deprecated as of vSphere API 8.0.2.0.

The percentage of total available CPUs reserved for a virtual machine. We multiply this percentage by the minimum frequency amongst all the cluster nodes to get the CPU reservation that is specified to vSphere in MHz.

This property was added in vSphere API 7.0.2.00100.

If missing or null, no CPU reservation is requested for the virtual machine.

integer As int64 As int64
memory_mb
Required

The amount of memory in MB configured for virtual machine of this class.

This property was added in vSphere API 7.0.2.00100.

integer As int64 As int64
memory_reservation
Optional

This property is deprecated as of vSphere API 8.0.2.0.

The percentage of available memory reserved for a virtual machine of this class.

This property was added in vSphere API 7.0.2.00100.

If missing or null, no memory reservation is requested for virtual machine.

string
description
Required

Description of the VM class.

This property was added in vSphere API 7.0.2.00100.

array of string
namespaces
Required

Set of Namespaces associated with this VM class.

This property was added in vSphere API 7.0.2.00100.

When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: com.vmware.vcenter.namespaces.Instance. When operations return a value of this schema as a response, the property will contain identifiers for the resource type: com.vmware.vcenter.namespaces.Instance.

array of string
vms
Required

Set of virtual machines deployed for VM class.

This property was added in vSphere API 7.0.2.00100.

When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: VirtualMachine. When operations return a value of this schema as a response, the property will contain identifiers for the resource type: VirtualMachine.

string
config_status
Required

Configstatus of VM class

For more information see: Vcenter NamespaceManagement VirtualMachineClasses ConfigStatus.

This property was added in vSphere API 7.0.2.00100.

messages
Required

Current set of messages associated with the object.

This property was added in vSphere API 7.0.2.00100.

devices
Optional

This property is deprecated as of vSphere API 8.0.2.0.

Virtual devices corresponding to the VM class.

This property was added in vSphere API 7.0.3.0.

This property is optional because it was added in a newer version than its parent node.

instance_storage
Optional

Instance storage associated with the VM class.

This property was added in vSphere API 8.0.0.0.

If missing or null, no instance storage is present.

object
config_spec
Optional

A VirtualMachineConfigSpec associated with the VM class.

This property was added in vSphere API 8.0.2.0.

If missing or null, a config spec is not used to configure this VM class.